<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Digits</title>
    <script src="../dist/core.js"></script>
</head>

<body>

    <script>

        let digits = new corejs.Digits(512.419)

        console.log(digits)
        console.log(digits.format())

    </script>
</body>

</html>